package com.ysd.lis.service.bac;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.entity.bac.BacTestWorkFlow;
import com.ysd.lis.request.lab.ChangeWorkFlowParam;

import java.util.List;

/**
 * <p>
 * 微生物检验应用流程方案 服务类
 * </p>
 *
 * @author cfz
 * @since 2024-04-11
 */
public interface BacTestWorkFlowService extends IService<BacTestWorkFlow> {
    Result findBacTestWorkFlowList(BacTestWorkFlow bacTestWorkFlow);

    Result findBacTestWorkFlowListByReqNo(BacTestWorkFlow bacTestWorkFlow);

    List<BacTestWorkFlow> findBacTestWorkFlowArray(BacTestWorkFlow bacTestWorkFlow);

    List<BacTestWorkFlow> findBacTestWorkFlowArrayByReqNo(BacTestWorkFlow bacTestWorkFlow);

    Result addBacTestWorkFlow(BacTestWorkFlow bacTestWorkFlow);

    Result deleteBacTestWorkFlow(BacTestWorkFlow bacTestWorkFlow);

    Result updateBacTestWorkFlow(BacTestWorkFlow bacTestWorkFlow);

    Result changeBacTestWorkFlow(BacTestWorkFlow bacTestWorkFlow);

    /*切换方案V2*/
    Result changeBacTestWorkFlowV2(ChangeWorkFlowParam input);

    /*获取全部方案并标记处当前使用*/
    Result findAllWorkFlowWithCurrentUse(BacTestWorkFlow bacTestWorkFlow);

}
